package com.recSystem.Entity.Enum;

/**
 * @author Legolas_PRC
 * @date 2023/4/ 16:26
 **/
public enum     SearchField {
    title("title","title"),
    abs("abstract","paper_abstract"),
    author("author","author_name");

    private String searchField;
    private String DbField;

    private SearchField(String searchField,String DbField){
        this.DbField=DbField;
        this.searchField=searchField;
    }

    public String getSearchField() {
        return searchField;
    }

    public String getDbField() {
        return DbField;
    }
}
